package com.gitee.wsl.lang

enum class ByteOrder {
    LittleEndian, BigEndian;
    companion object{
        val BIG_ENDIAN = BigEndian
        val LITTLE_ENDIAN=LittleEndian
    }
}

inline val ByteOrder.isBigEndian: Boolean
    get() = ByteOrder.BIG_ENDIAN === this